package com.xpgk.mvc.ddc.query.credentialQuery;

import com.xpgk.mvc.base.BaseController;
import com.xpgk.mvc.organization.Organization;

public class CredentialQueryController extends BaseController{

	public void index(){
		Organization org = Organization.dao.findById(getCUserOrganIds());
		setAttr("curOrgan", org);
		render("credentialQuery.html");
	}
	public void getList(){
		String json = paging(splitPage,CredentialQuerySQL.sqlId_splitPageSelect, CredentialQuerySQL.sqlId_splitPageFrom);
		renderJson(json);
	}
}
